package com.ruoyi.operator.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商家商品对象 opt_shop_product
 * @date 2021-02-08
 */
public class OptShopProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String productId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal productPrice;

    /** 库存 */
    @Excel(name = "库存")
    private Long productStock;

    /** 描述 */
    @Excel(name = "描述")
    private String productDescription;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String productIcon;

    /** 类目编号 */
    @Excel(name = "类目编号")
    private Long categoryNumber;

    /** 是否删除 0未删除 1已删除 */
    @Excel(name = "是否删除 0未删除 1已删除")
    private Integer isDelete;

    /** 类目名字 */
    @Excel(name = "类目名字")
    private String categoryName;

    /** $column.columnComment */
    @Excel(name = "所属部门ID")
    private String deptId;

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public void setProductId(String productId)
    {
        this.productId = productId;
    }

    public String getProductId() 
    {
        return productId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductPrice(BigDecimal productPrice) 
    {
        this.productPrice = productPrice;
    }

    public BigDecimal getProductPrice() 
    {
        return productPrice;
    }
    public void setProductStock(Long productStock) 
    {
        this.productStock = productStock;
    }

    public Long getProductStock() 
    {
        return productStock;
    }
    public void setProductDescription(String productDescription) 
    {
        this.productDescription = productDescription;
    }

    public String getProductDescription() 
    {
        return productDescription;
    }
    public void setProductIcon(String productIcon) 
    {
        this.productIcon = productIcon;
    }

    public String getProductIcon() 
    {
        return productIcon;
    }
    public void setCategoryNumber(Long categoryNumber) 
    {
        this.categoryNumber = categoryNumber;
    }

    public Long getCategoryNumber() 
    {
        return categoryNumber;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("productPrice", getProductPrice())
            .append("productStock", getProductStock())
            .append("productDescription", getProductDescription())
            .append("productIcon", getProductIcon())
            .append("categoryNumber", getCategoryNumber())
            .append("categoryName", getCategoryName())
            .append("isDelete", getIsDelete())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
